import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

//引入element
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

//引入loading并添加到vue实例上
import { Loading } from 'element-ui';
Vue.prototype.Loading=Loading;

//引入filter
import '@/filter.js'
//引入vuex
import store from '@/store.js'
//引入路由
import router from '@/router.js'
//引入全局组件js
import '@/components.js'

new Vue({
  render: h => h(App),
  store,
  router
}).$mount('#app')
